import React, { Component } from 'react'
import HocRouter from '../../utils/HocRouter'
// import PubSub from 'pubsub-js' 
// import QRCode  from 'qrcode.react';
import QRcode from 'qrcode.react'
export class My extends Component {
    componentDidMount(){
     
    }
    render() {
        return (
            <div>
                My
                <QRcode value={`www.baidu.com`}
                  size={200} 
                  fgColor="red" 
                ></QRcode>
            </div>
        )
    }
}

export default HocRouter(My)
